54425311e2fb2cf4592a471559023e724c82f5e4,source/com/intellij/codeInsight/daemon/impl/analysis/HighlightUtil.java,HighlightUtil,createIncompatibleTypeHighlightInfo,#PsiType#PsiType#TextRange#,1785

Before Change


    }
    PsiType lRawType = lType1 instanceof PsiClassType ? ((PsiClassType)lType1).rawType() : lType1;
    PsiType rRawType = rType1 instanceof PsiClassType ? ((PsiClassType)rType1).rawType() : rType1;
    boolean assignable = TypeConversionUtil.isAssignable(lRawType, rRawType);
    toolTip += "<td>Required:</td>" +
               "<td>" + redIfNotMatch(lRawType, assignable) + "</td>" +
               requredRow;

After Change


    }
    PsiType lRawType = lType1 instanceof PsiClassType ? ((PsiClassType)lType1).rawType() : lType1;
    PsiType rRawType = rType1 instanceof PsiClassType ? ((PsiClassType)rType1).rawType() : rType1;
    boolean assignable = lRawType == null || rRawType == null ? true : TypeConversionUtil.isAssignable(lRawType, rRawType);
    toolTip += "<td>Required:</td>" +
               "<td>" + redIfNotMatch(lRawType, assignable) + "</td>" +
               requredRow;